package com.cloud.admin.config;

import com.cloud.admin.bean.UrlResource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "health")
public class HealthCheckConfig {
    private boolean check;
    private List<String> ignoreServices;
    private List<UrlResource> checkUrls;
}
